﻿<%@ Page Title="Car Parallel Import" Language="C#" MasterPageFile="~/Provider/CarInsurance/Liberty_CarInsurance.master"
    AutoEventWireup="true" CodeFile="ProviderParallelImport.aspx.cs" Inherits="Provider_CarInsurance_ProviderParallelImport" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="provider_inner">
        <h1>
            Provider Car Parallel Import</h1>
        <fieldset>
            <%--<legend></legend>--%>
            <dl>
                <dt>
                    <label for="email">
                        Is Parallel Import</label></dt>
                <dd>
                    <asp:DropDownList ID="ddlParallelImport" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlParallelImport_SelectedIndexChanged">
                        <asp:ListItem Value="-1">Select</asp:ListItem>
                        <asp:ListItem Value="True">Yes</asp:ListItem>
                        <asp:ListItem Value="False">No</asp:ListItem>
                    </asp:DropDownList>
                    <asp:RequiredFieldValidator ID="rfvParallelImport" runat="server" ControlToValidate="ddlParallelImport"
                        ErrorMessage="Select parallel import is yes or no." ValidationGroup="parallelimport"
                        InitialValue="-1"></asp:RequiredFieldValidator>
                </dd>
            </dl>
            <dl>
                <dt>
                    <label for="email">
                        Car Parallel Import Value</label></dt>
                <dd>
                    <asp:TextBox ID="txtParallelImportRate" runat="server" MaxLength="3"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvParallelImportRate" runat="server" ControlToValidate="txtParallelImportRate"
                        ErrorMessage="Enter rate." ValidationGroup="parallelimport"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="revParallelImportRate" runat="server" ControlToValidate="txtParallelImportRate"
                        ErrorMessage="Rate value is not valid." ValidationGroup="parallelimport" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"></asp:RegularExpressionValidator>
                </dd>
            </dl>
             <dl>
                <dt>
                    <label>
                        Auth Code</label></dt>
                <dd>
                    <asp:TextBox ID="txtAuthCode" runat="server" TextMode="Password" MaxLength="12" Width="150px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvAuthCode" runat="server" ControlToValidate="txtAuthCode"
                        ErrorMessage="Enter auth code." ValidationGroup="carcapacity"></asp:RequiredFieldValidator>
                </dd>
            </dl>
        </fieldset>
        <fieldset class="action">
            <asp:ImageButton ID="ibtBack" runat="server" ImageUrl="~/Provider/images/buttons/back1.gif"
                OnClick="ibtBack_Click" CssClass="left_btn" OnClientClick="javascript:return confirm('Are you sure to go back?');" />
            <asp:ImageButton ID="ibtSubmit" runat="server" ImageUrl="~/Provider/images/buttons/submit1.gif"
                OnClick="ibtSubmit_Click" CssClass="float_btn" ValidationGroup="parallelimport" />
        </fieldset>
        <asp:Label ID="lblMessage" runat="server" CssClass="successmsg"></asp:Label>
    </div>
</asp:Content>
